home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 50
/
050.d81
/
in the mail
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
850b
|
36 lines
1 rem snakeoil
2 rem print-out order form
3 ifa=.thena=1:load"subscribe form",8,1
4 poke19152,.:rem poke byte after end of file with a zero
5 print"[147][144]":poke53281,13:poke53280,13
10 print" [212]o print-out a [204][207][193][196][211][212][193][210] [207]rder form,"
20 print"turn on your printer and press [[211][208][193][195][197]]."
30 print:printspc(15)"- [207][210] -"
40 print" [208]ress [[210][197][212][213][210][206]] to return to [204][207][193][196][211][212][193][210]."
50 :
60 poke198,0:wait198,1:geta$
62 ifa$=chr$(13)then60000
64 ifa$=chr$(32)then100
70 goto60
80 :
100 open15,4,15:close15:ifst=0then200
110 print" !! [197]rror...[208]rinter not ready... !!"
120 fordl=1to3000:nextdl
130 goto5
140 :
200 open4,4,7
210 sys51137,16384
220 print#4
250 close4
260 run5
270 :
60000 print"[147] [193]re you sure you want to quit [[217]/[206]]?"
60010 poke198,0:wait198,1:geta$
60020 ifa$="n"then5
60030 ifa$<>"y"then60000
60040 :
61000 print"[147]"spc(8)"[210]eturning to [204]oadstar..."
61060 :
61070 print"[153]load"chr$(34)"hello connect"chr$(34)",8":print"run"
61080 poke178,.:poke631,13:poke632,13:poke198,2:end